package com.qk.management.service;

import com.qk.common.PageResult;
import com.qk.entity.Role;

import java.util.List;

/**
 * @author: hm
 * @Date: 2025/10/06 20:02
 * @Description:
 */
public interface RoleService {

    List<Role> selectAllRoles();


    void deleteById(Integer id);

    void update(Role role);

    Role getById(Integer id);

    PageResult<Role> page(String name, String label, Integer page, Integer pageSize);

    void addRole(Role role);
}
